﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CarsView.aspx.cs" Inherits="TrafficArchives.Cars.CarsView" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
--%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/Page.css" rel="stylesheet" type="text/css" />
    <link href="../css/GamerGridView.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#acd1eb"
        style="font-size: 12px;">
        <tr>
            <td valign="top" bgcolor="#FFFFFF">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr style="background: url(../images/bt_bg.gif)">
                                    <td width="12">
                                        <img src="../images/bt_left.gif" width="12" height="28">
                                    </td>
                                    <td width="42" align="center">
                                        <img src="../images/bt_title.gif">
                                    </td>
                                    <td style="font-size: 12px;">
                                        <span class="style3">您当前的位置：</span>拥有车辆查询
                                    </td>
                                    <td width="51" id="sy">
                                        <a href="content.html">首页</a>
                                    </td>
                                    <td width="12">
                                        <img src="../images/bt_right.gif" width="12" height="28">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" valign="top">
                            <table width="95%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
                                <tr bgcolor="#FFFFFF">
                                    <td width="10%" height="30" align="right" bgcolor="#E4F1FD" class="style4">
                                        拥有车辆数：
                                    </td>
                                    <td width="10%">
                                        <asp:TextBox ID="TxtCarAmount" Width="70" CssClass="Wdate" runat="server"></asp:TextBox>
                                    </td>
                                    <td width="11%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">初次领证日期起：</span>
                                    </td>
                                    <td width="10%" align="left">
                                        <asp:TextBox ID="TxtFirstStartDate" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                    <td width="3%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">止：</span>
                                    </td>
                                    <td width="10%" align="left">
                                        <asp:TextBox ID="TxtFirstEndDate" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                    <td width="9%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">管理部门：</span>
                                    </td>
                                    <td width="11%" align="left">
                                        <asp:TextBox ID="TxtDepartment" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                    <td width="9%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">行政区划：</span>
                                    </td>
                                    <td width="11%" align="left">
                                        <asp:TextBox ID="TxtAdminArea" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td width="10%" height="30" align="right" bgcolor="#E4F1FD" class="style4">
                                        准驾车型：
                                    </td>
                                    <td width="8%" colspan="8">
                                        <asp:CheckBoxList ID="DdlAllowCarType" CssClass="style4" RepeatDirection="Horizontal"
                                            runat="server">
                                            <asp:ListItem Text="A1" Value="A1"></asp:ListItem>
                                            <asp:ListItem Text="A2" Value="A2"></asp:ListItem>
                                            <asp:ListItem Text="A3" Value="A3"></asp:ListItem>
                                            <asp:ListItem Text="B1" Value="B1"></asp:ListItem>
                                            <asp:ListItem Text="B2" Value="B2"></asp:ListItem>
                                            <asp:ListItem Text="C1" Value="C1"></asp:ListItem>
                                            <asp:ListItem Text="C2" Value="C2"></asp:ListItem>
                                            <asp:ListItem Text="C5" Value="C5"></asp:ListItem>
                                            <asp:ListItem Text="D" Value="D"></asp:ListItem>
                                            <asp:ListItem Text="E" Value="E"></asp:ListItem>
                                            <asp:ListItem Text="F" Value="F"></asp:ListItem>
                                        </asp:CheckBoxList>
                                    </td>
                                    <td width="11%" align="left">
                                        <asp:Button ID="BtnQuery" OnClick="BtnQueryClicked" Text="查询" runat="server" CssClass="button" />
                                    </td>
                                </tr>
                            </table>
                            <table width="95%" border="0" cellspacing="0" cellpadding="0">
                                <tr bgcolor="#FFFFFF">
                                    <td height="10" align="right">
                                    </td>
                            </table>
                            <!--详细信息begin-->
                            <table width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="#66a9ec" style="font-size: 12px;">
                                <tr>
                                    <td width="15%" height="24" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        姓名
                                    </td>
                                    <td width="16%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        档案编号
                                    </td>
                                    <td width="15%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        驾驶证号
                                    </td>
                                    <td width="11%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        准驾车型
                                    </td>
                                    <td width="15%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        初次领证日期
                                    </td>
                                    <td width="10%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        车辆数
                                    </td>
                                </tr>
                            </table>
                            <asp:GridView ID="GridViewMain" runat="server" Width="95%" AllowSorting="True" AutoGenerateColumns="False"
                                CssClass="GridViewStyle" DataKeyNames="sfzmhm" GridLines="None">
                                <Columns>
                                    <asp:BoundField HeaderText="姓名" DataField="xm"></asp:BoundField>
                                    <asp:BoundField HeaderText="档案编号" DataField="dabh" />
                                    <asp:BoundField HeaderText="驾驶证号" DataField="" />
                                    <asp:BoundField HeaderText="准驾车型" DataField="zjcx" />
                                    <asp:BoundField HeaderText="初次领证日期" DataField="cclzrq" />
                                    <asp:BoundField HeaderText="车辆数" DataField="zt" />
                                </Columns>
                                <FooterStyle CssClass="FooterStyle" />
                                <RowStyle CssClass="RowStyle" />
                                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                <SelectedRowStyle CssClass="SelectedRowStyle" />
                                <HeaderStyle CssClass="HeaderStyle" />
                                <EditRowStyle CssClass="EditRowStyle" />
                                <AlternatingRowStyle CssClass="AltRowStyle" />
                            </asp:GridView>
                            <!--详细信息over-->
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
    </form>
</body>
</html>
